import { defineMarkdocConfig } from '@astrojs/markdoc/config';


export default defineMarkdocConfig({
    nodes: {

    },
    variables: {
        revealSecret: true,
        color: "#f40"
    },
    attributes: {
        type: {
            type: String,
            default: 'note',
            required: true,
            matches: ['caution', 'check', 'note', 'warning'],
            errorLevel: 'critical',
        }
    },
    tags: {
        aside: {
            render: 'Aside',
            attributes: {
                type: { type: String },
                title: { type: String },
            },

        },
    },
})